var chartDom = document.getElementById('t3');
var myChart = echarts.init(chartDom);

var option = {
    tooltip: {
        trigger: 'item',
    },
	
	color:['#02B1FA', '#FF886C'],
    series: [
        {
            name: '访问来源',
            type: 'pie',
            radius: ['40%', '70%'],
            avoidLabelOverlap: false,
             label: {
                normal: {
                    formatter: '{c}',
                    position: 'inside'
                }
            },
            labelLine: {
                show: false
            },
            data: [
                {value: 1048},
                {value: 735},
            ]
        }
    ]
};

option && myChart.setOption(option);